using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public enum SanBayBUSResult
    {
        OK, DAOERROR
    }
    public class SanBayBUS
    {
        public static SanBayBUSResult ChonHet(List<DTO.SanBay> tensb)
        {
            if (DAO.SanBayDAO.HienThiTenSanBay(tensb))
                return SanBayBUSResult.OK;
            return SanBayBUSResult.DAOERROR;
        }
    }
}
